<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/commonTag.jsp"%>

<html>
	<head>
		<title>添加版位分类</title>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="${path}/style/styles.css">
		<link rel="stylesheet" type="text/css" href="${path}/style/main.css">
	</head>

	<body>
		
		<div class="context_text">
		<form action="${path}/attach/positionItem!updatePi.action"
			method="post">
			<table class="tables" width="70%">
				<tr>
					<th colspan="2" class="th1">
						添加版位分类
					</th>
				</tr> 
				<tr>
					<td class="td3" align=right>
						属于版位分类：
					</td>
					<td class="td3">
						<select name="pi.adPS.psId">
							<c:forEach var="ps" items="${psList}">
								<option value="${ps.psId}" ${pi.adPS.psId==ps.psId?"selected":""}>${ps.psName}</option>
							</c:forEach>
						</select>
					</td>
				</tr>
				<tr>
					<td class="td3" align=right>
						版位列表名称：
					</td>
					<td class="td3">
						<input type="text" class="input1" name="pi.piName" value="${pi.piName}"/>
					</td>
				</tr>
				<tr>
					<td class="td3" align=right>
						版位列表大小：
					</td>
					<td class="td3">
						宽度：<input type="text" size="7" name="pi.piWidth" value="${pi.piWidth}" />
						高度：<input type="text" size="7" name="pi.piHeight" value="${pi.piHeight}" />
					</td>
				</tr>
				<tr>
					<td class="td3" align=right>
						版位分类描述：
					</td>
					<td class="td3">
						<input type="text" class="input1" name="pi.piDesc" value="${pi.piHeight}" />
					</td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<input type="hidden" name="pi.piId" value="${pi.piId}"/>
						<input type="submit" value="提交" />
					</td>
				</tr>
			</table>
		</form>
		</div>
	</body>
</html>
